package top.continew.admin.generator.model.resp;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 待办事项信息
 *
 * @author kellen
 * @since 2025/07/30
 */
@Data
@Schema(description = "待办事项信息")
public class TaskTodoResp implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @Schema(description = "ID", example = "1")
    private Long id;

    /**
     * 负责人ID
     */
    @Schema(description = "负责人ID", example = "1")
    private Long directorId;

    /**
     * 负责人姓名
     */
    @Schema(description = "负责人姓名", example = "张三")
    private String directorName;

    /**
     * 事项类型：0-待办
     */
    @Schema(description = "事项类型", example = "0")
    private Integer taskType;

    /**
     * 任务内容
     */
    @Schema(description = "任务内容", example = "请处理XXX事项")
    private String taskContent;

    /**
     * 任务状态：0-待查看，1-已查看，2-已处理，3-已关闭
     */
    @Schema(description = "任务状态", example = "0")
    private Integer taskStatus;

    /**
     * 任务状态描述
     */
    @Schema(description = "任务状态描述", example = "待查看")
    private String taskStatusDesc;

    /**
     * 创建时间
     */
    @Schema(description = "创建时间", example = "2023-08-08 08:08:08", type = "string")
    private LocalDateTime createTime;

    /**
     * 创建人
     */
    @Schema(description = "创建人", example = "admin")
    private String createUser;
    /**
     * 关联任务ID
     */
    private Long taskId;
    /**
     * 是否需要样品：0-否，1-是
     */
    private Integer needSample;

    /**
     * 邮寄地址
     */
    private String mailingAddress;

    /**
     * 关联的转派记录ID
     */
    private Long transferId;

}